package com.xxk.rocket.star.springboot;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

@Component
@ConfigurationProperties("stargate")
@Data
public class StargateProperties {

  private Map<String, String> namesrvAddr = new ConcurrentHashMap<String, String>();
  private String namesrvDefault;
  private String decodeClassName;
  private String encodeClassName;
  private Integer threadSize;
  private Boolean delayMsecSwitch;
  private String env;

}
